﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="data_del.aspx.cs" Inherits="AnyOffice.general.system.attend.data_del" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>删除考勤数据</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<link rel="stylesheet" type="text/css" href="/module/date_selector/popcalendar.css">
			<script src="/module/date_selector/popcalendar.js"></script>
			<script src="/aspnet_client/core/function.js"></script>
			<script language="JavaScript">
function CheckForm()
{
   if(!(checkIsDate(document.Form1.txtBeginDate.value) || checkIsDateTime(document.Form1.txtBeginDate.value)))
   {
	 alert("起始日期不正确！");
	 document.Form1.txtBeginDate.focus();
	 return (false);
   }
   
   if(!(checkIsDate(document.Form1.txtEndDate.value) || checkIsDateTime(document.Form1.txtEndDate.value)))
   {
	 alert("截止日期不正确！");
	 document.Form1.txtEndDate.focus();
	 return (false);
   }
   
   if(window.confirm("删除后数据将不可恢复，确定要删除吗？"))
      return true;
   else
	  return false;
}
			</script>
	</HEAD>
	<body class="bodycolor" topmargin="5">
		<form id="Form1" method="post" runat="server">
			<asp:Panel id="pnlMain" runat="server">
				<TABLE class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
					<TR>
						<TD class="Big"><IMG src="/images/menu/attendance.gif" align="absMiddle"><SPAN class="big3"> 
删除考勤数据</SPAN><BR>
						</TD>
					</TR>
				</TABLE>
				<BR>
				<TABLE class="small" cellSpacing="1" cellPadding="2" width="500" align="center" border="0" bgcolor=#000000>
					<TR>
						<TD class="TableContent" noWrap>起始时间：</TD>
						<TD class="TableData"><INPUT class="BigInput" id="txtBeginDate" type="text" maxLength="20" size="20" name="txtBeginDate"
								runat="server"> <IMG style="CURSOR: hand" onclick="popUpCalendar(this,txtBeginDate,'yyyy-mm-dd','');"
								src="/module/date_selector/calendar.gif" align="absMiddle" border="0"> <IMG style="CURSOR: hand" onclick="popClock('txtBeginDate');" src="/images/menu/clock.gif"
								align="absMiddle" border="0">
						</TD>
					</TR>
					<TR>
						<TD class="TableContent" noWrap>截止时间：</TD>
						<TD class="TableData"><INPUT class="BigInput" id="txtEndDate" type="text" maxLength="20" size="20" name="txtEndDate"
								runat="server"> <IMG style="CURSOR: hand" onclick="popUpCalendar(this,txtEndDate,'yyyy-mm-dd','');" src="/module/date_selector/calendar.gif"
								align="absMiddle" border="0"> <IMG style="CURSOR: hand" onclick="popClock('txtEndDate');" src="/images/menu/clock.gif"
								align="absMiddle" border="0">
						</TD>
					</TR>
					<TR>
						<TD class="TableContent" noWrap>删除项目：</TD>
						<TD class="TableData">
							<asp:CheckBox id="ckbDuty" runat="server" Text="上下班登记"></asp:CheckBox>
							<asp:CheckBox id="ckbOut" runat="server" Text="外出登记"></asp:CheckBox>
							<asp:CheckBox id="ckbLeave" runat="server" Text="请假登记"></asp:CheckBox>
							<asp:CheckBox id="ckbEvection" runat="server" Text="出差登记"></asp:CheckBox></TD>
					</TR>
					<TR>
						<TD class="TableControl" noWrap align="center" colSpan="2"><INPUT class="BigButton" title="确定" onclick="return CheckForm();" type="submit" value="确定">&nbsp;&nbsp;
							<INPUT class="BigButton" onclick="location='index.aspx';" type="button" value="返回">
						</TD>
					</TR>
				</TABLE>
			</asp:Panel>
			<asp:Literal id="litMessage" runat="server"></asp:Literal>
		</form>
	</body>
</HTML>
